package com.travelgroup.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.Getter;

@Getter
public enum NotificationType implements IEnum<Integer> {
    JOIN(0, "拼团成功"),
    CANCEL(1, "拼团取消"),
    SYSTEM(2, "系统通知");

    private final Integer value;
    private final String type;
    NotificationType(Integer value, String type) {
        this.value = value;
        this.type = type;
    }
}
